package com.gxa.employment.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.employment.entity.dto.PageBean;
import com.gxa.employment.entity.pojo.Permission;
import com.gxa.employment.entity.vo.PageVo;

import java.util.List;

/**
 * <p>
 * 系统权限表 服务类
 * </p>
 *
 * @author author
 * @since 2025-03-25
 */
public interface PermissionService extends IService<Permission> {

    List<Permission> getAllPermission(String type);

    PageVo<Permission> getByPage(PageBean pageBean);

    List<Permission> getMenuList();

    void deleteAllPermission(Integer id);
}
